|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
edu.vub.at.AmbientTalkTest
edu.vub.at.objects.natives.CustomFieldsTest
Tests custom fields that can be added to an object.
Nested Class Summary |
Nested classes inherited from class edu.vub.at.AmbientTalkTest |
AmbientTalkTest.Actorscript |
Field Summary | |
private AGSymbol |
foo_
|
private ATObject |
testField_
|
private NATObject |
testHost_
|
Fields inherited from class edu.vub.at.AmbientTalkTest |
ctx_ |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
CustomFieldsTest()
|
Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
setUp()
|
void |
testCloneFieldReinit()
Tests whether the fields of clones are properly re-initialized |
void |
testCustomDuplicate()
Tests that duplicate slots are still trapped, even with custom fields |
void |
testCustomFieldAddition()
Tests whether a custom field can be added to a native object |
void |
testCustomFieldRead()
Tests whether a custom field can be read via readField |
void |
testCustomFieldWrite()
Tests whether a custom field can be written via writeField |
void |
testFieldListing()
Tests whether custom fields appear in the listFields table |
void |
testNativeFieldAdd()
Tests whether native fields added to another object are not added as custom fields, but again as native fields |
Methods inherited from class edu.vub.at.AmbientTalkTest |
actorTest, evalActor, evalAndCompareTo, evalAndCompareTo, evalAndReturn, evalAndTestException, evalInActor, evalSnippet, printedEquals |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
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, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private NATObject testHost_
private ATObject testField_
private AGSymbol foo_
Constructor Detail |
public CustomFieldsTest()
Method Detail |
public static void main(java.lang.String[] args)
public void setUp() throws InterpreterException
InterpreterException
public void testCustomFieldAddition() throws java.lang.Exception
java.lang.Exception
public void testCustomFieldRead() throws java.lang.Exception
java.lang.Exception
public void testCustomFieldWrite() throws java.lang.Exception
java.lang.Exception
public void testCustomDuplicate() throws java.lang.Exception
java.lang.Exception
public void testFieldListing() throws java.lang.Exception
java.lang.Exception
public void testCloneFieldReinit() throws java.lang.Exception
java.lang.Exception
public void testNativeFieldAdd() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |