Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
drupal_web_test_case.php
»
DrupalTestCase
»
DrupalTestCase::assertNotEqual
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
39 calls to DrupalTestCase::assertNotEqual()
AJAXFormPageCacheTestCase::testSimpleAJAXFormValue
in drupal/
modules/
simpletest/
tests/
ajax.test
Create a simple form, then POST to system/ajax to change to it.
DatabaseConnectionTestCase::testConnectionOptions
in drupal/
modules/
simpletest/
tests/
database_test.test
Tests the connection options of the active database.
DatabaseSelectComplexTestCase::testDefaultJoin
in drupal/
modules/
simpletest/
tests/
database_test.test
Test simple JOIN statements.
DatabaseSelectComplexTestCase::testJoinTwice
in drupal/
modules/
simpletest/
tests/
database_test.test
Confirm we can join on a single table twice with a dynamic alias.
DatabaseSelectTestCase::testRandomOrder
in drupal/
modules/
simpletest/
tests/
database_test.test
Test that random ordering of queries works.
DrupalGotoTest::testDrupalGoto
in drupal/
modules/
simpletest/
tests/
common.test
Test
drupal_goto
().
DrupalHtmlToTextTestCase::testDrupalHtmltoTextRemoveTrailingWhitespace
in drupal/
modules/
simpletest/
tests/
mail.test
Tests that
drupal_wrap_mail
() removes trailing whitespace before newlines.
DrupalWebTestCase::assertNoTitle
in drupal/
modules/
simpletest/
drupal_web_test_case.php
Pass if the page title is not the given string.
FileCopyTest::testExistingRename
in drupal/
modules/
simpletest/
tests/
file.test
Test renaming when copying over a file that already exists.
FileDirectoryTest::testFileDestination
in drupal/
modules/
simpletest/
tests/
file.test
This will test the filepath for a destination based on passed flags and whether or not the file exists.
FileFieldAnonymousSubmission::testAnonymousNode
in drupal/
modules/
file/
tests/
file.test
Tests the basic node submission for an anonymous visitor.
FileFieldAnonymousSubmission::testAnonymousNodeWithFile
in drupal/
modules/
file/
tests/
file.test
Tests file submission for an anonymous visitor.
FileFieldAnonymousSubmission::_testNodeWithFileWithoutTitle
in drupal/
modules/
file/
tests/
file.test
Helper method to test file submissions with missing node titles.
FileFieldTestCase::uploadNodeFile
in drupal/
modules/
file/
tests/
file.test
Uploads a file to a node.
FileFieldWidgetTestCase::testPrivateFileComment
in drupal/
modules/
file/
tests/
file.test
Tests that download restrictions on private files work on comments.
FileMoveTest::testExistingRename
in drupal/
modules/
simpletest/
tests/
file.test
Test renaming when moving onto a file that already exists.
FileNameMungingTest::testMunging
in drupal/
modules/
simpletest/
tests/
file.test
Create a file and munge/unmunge the name.
FilePrivateTestCase::testPrivateFile
in drupal/
modules/
file/
tests/
file.test
Tests file access for file uploaded to a private node.
FileTestCase::assertDifferentFile
in drupal/
modules/
simpletest/
tests/
file.test
Check that two files are not the same by comparing the fid and filepath.
FileUnmanagedCopyTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Copy a normal file.
FileUnmanagedCopyTest::testOverwriteSelf
in drupal/
modules/
simpletest/
tests/
file.test
Copy a file onto itself.
FileUnmanagedMoveTest::testNormal
in drupal/
modules/
simpletest/
tests/
file.test
Move a normal file.
FormsFormStoragePageCacheTestCase::testRebuildFormStorageOnCachedPage
in drupal/
modules/
simpletest/
tests/
form.test
Build-id is regenerated when rebuilding cached form.
FormsFormStoragePageCacheTestCase::testValidateFormStorageOnCachedPage
in drupal/
modules/
simpletest/
tests/
form.test
Build-id is regenerated when validating cached form.
FormsFormStorageTestCase::testImmutableFormLegacyProtection
in drupal/
modules/
simpletest/
tests/
form.test
Verify that existing contrib code cannot overwrite immutable form state.
ImageStylesPathAndUrlTestCase::_testImageStyleUrlAndPath
in drupal/
modules/
image/
image.test
Test
image_style_url
().
LocaleUrlRewritingTest::checkUrl
in drupal/
modules/
locale/
locale.test
Check URL rewriting for the given language.
ModuleUnitTest::testDependencyResolution
in drupal/
modules/
simpletest/
tests/
module.test
Test dependency resolution.
NodeAccessRecordsTestCase::testNodeAccessRecords
in drupal/
modules/
node/
node.test
Creates a node and tests the creation of node access rules.
NodeSaveTestCase::testTimestamps
in drupal/
modules/
node/
node.test
Verifies accuracy of the "created" and "changed" timestamp functionality.
SearchAdvancedSearchForm::testNodeType
in drupal/
modules/
search/
search.test
Test using the search form with GET and POST queries. Test using the advanced search form to limit search to nodes of type "Basic page".
SessionHttpsTestCase::testHttpsSession
in drupal/
modules/
simpletest/
tests/
session.test
SessionTestCase::testSessionWrite
in drupal/
modules/
simpletest/
tests/
session.test
Test that sessions are only saved when necessary.
ShortcutSetsTestCase::testShortcutSetRenameAlreadyExists
in drupal/
modules/
shortcut/
shortcut.test
Tests renaming a shortcut set to the same name as another set.
ShortcutSetsTestCase::testShortcutSetSwitchCreate
in drupal/
modules/
shortcut/
shortcut.test
Tests switching a user's shortcut set and creating one at the same time.
StatisticsBlockVisitorsTestCase::testIPAddressBlocking
in drupal/
modules/
statistics/
statistics.test
Blocks an IP address via the top visitors report and then unblocks it.
ThemeTestCase::testThemeGetSetting
in drupal/
modules/
simpletest/
tests/
theme.test
Test the
theme_get_setting
() function.
UserPasswordResetTestCase::testResetImpersonation
in drupal/
modules/
user/
user.test
Make sure that users cannot forge password reset URLs of other users.
UserPictureTestCase::testPictureIsValid
in drupal/
modules/
user/
user.test
Do the test: Picture is valid (proper size and dimension)