|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.eclipse.core.tests.harness.CoreTest
org.eclipse.core.tests.resources.ResourceTest
org.eclipse.core.tests.resources.CharsetTest
public class CharsetTest
Nested Class Summary | |
---|---|
class |
CharsetTest.CharsetVerifier
|
Field Summary |
---|
Fields inherited from class org.eclipse.core.tests.resources.ResourceTest |
---|
deltaListener, PI_RESOURCES_TESTS |
Fields inherited from class org.eclipse.core.tests.harness.CoreTest |
---|
PI_HARNESS |
Constructor Summary | |
---|---|
CharsetTest(java.lang.String name)
|
Method Summary | |
---|---|
void |
_testBug67606()
See bug 67606. |
static junit.framework.Test |
suite()
|
void |
testBug186984()
|
void |
testBug261994()
In this bug, a file starts with a particular content id and content type. |
void |
testBug59899()
|
void |
testBug62732()
|
void |
testBug64503()
|
void |
testBug94279()
|
void |
testChangesDifferentProject()
|
void |
testChangesSameProject()
|
void |
testClosingAndReopeningProject()
|
void |
testContentBasedCharset()
Tests Content Manager-based charset setting. |
void |
testDefaults()
|
void |
testDeltaOnContentTypeChanges()
|
void |
testDeltaOnPreferenceChanges()
|
void |
testDeltasContainer()
Test the contents of the resource deltas which are generated when we make encoding changes to containers (folders, projects, root). |
void |
testDeltasFile()
Check that we are broadcasting the correct resource deltas when making encoding changes. |
void |
testFileCreation()
|
void |
testGetCharsetFor()
See enhancement request 60636. |
void |
testMovingProject()
Moves a project and ensures the charsets are preserved. |
void |
testNonExistingResource()
Two things to test here: - non-existing resources default to the parent's default charset; - cannot set the charset for a non-existing resource (exception is thrown). |
Methods inherited from class org.eclipse.core.tests.harness.CoreTest |
---|
createFileInFileSystem, debug, fail, getContents, getContents, getMonitor, getRandomContents, getRandomLocation, getRandomString, getTempDir, log, log, transferData, transferDataWithoutClose |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, 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, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CharsetTest(java.lang.String name)
Method Detail |
---|
public static junit.framework.Test suite()
public void _testBug67606() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testBug59899()
public void testBug62732() throws java.io.UnsupportedEncodingException, org.eclipse.core.runtime.CoreException
java.io.UnsupportedEncodingException
org.eclipse.core.runtime.CoreException
public void testBug64503() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testBug94279() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testBug186984()
public void testBug261994() throws java.io.UnsupportedEncodingException, org.eclipse.core.runtime.CoreException
java.io.UnsupportedEncodingException
org.eclipse.core.runtime.CoreException
public void testChangesDifferentProject() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testChangesSameProject() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testClosingAndReopeningProject() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testContentBasedCharset() throws org.eclipse.core.runtime.CoreException, java.io.UnsupportedEncodingException
org.eclipse.core.runtime.CoreException
java.io.UnsupportedEncodingException
public void testDefaults() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testDeltaOnContentTypeChanges()
public void testDeltaOnPreferenceChanges()
public void testDeltasContainer()
public void testDeltasFile()
public void testFileCreation() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testGetCharsetFor() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testMovingProject() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
public void testNonExistingResource() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |