Class AbstractDataStoreFactoryTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.google.api.client.test.util.store.AbstractDataStoreFactoryTest
- All Implemented Interfaces:
junit.framework.Test
Tests
DataStoreFactory
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
(package private) DataStoreFactory
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
assertContentsAnyOrder
(Collection<?> c, Object... elts) protected abstract DataStoreFactory
Returns a new instance of the data store factory to test.void
setUp()
private void
private void
void
tearDown()
void
void
void
void
testId()
void
void
void
testSet()
void
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
Field Details
-
STRING_ID
- See Also:
-
BOOLEAN_ID
- See Also:
-
dataStore
DataStoreFactory dataStore -
stringTyped
-
boolTyped
-
-
Constructor Details
-
AbstractDataStoreFactoryTest
public AbstractDataStoreFactoryTest()
-
-
Method Details
-
newDataStoreFactory
Returns a new instance of the data store factory to test.- Throws:
Exception
-
setUp
- Overrides:
setUp
in classjunit.framework.TestCase
- Throws:
Exception
-
tearDown
- Overrides:
tearDown
in classjunit.framework.TestCase
- Throws:
Exception
-
assertContentsAnyOrder
-
testId
- Throws:
Exception
-
subtestIdException
- Throws:
Exception
-
subtestIdNoException
- Throws:
Exception
-
testSet
- Throws:
Exception
-
testValues
- Throws:
Exception
-
testKeySet
- Throws:
Exception
-
testDelete
- Throws:
Exception
-
testClear
- Throws:
Exception
-
testLarge
- Throws:
Exception
-
testContainsKeyAndValue
- Throws:
Exception
-