Tabnine Logo
DropTableImpl.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.nhaarman.sqlitebuilder.impl.DropTableImpl
constructor

Best Java code snippets using com.nhaarman.sqlitebuilder.impl.DropTableImpl.<init> (Showing top 4 results out of 315)

origin: nhaarman/SQLiteBuilder

@NotNull
@Override
public DropTable table(@Nullable final String databaseName, @NotNull final String tableName) {
 return new DropTableImpl(databaseName, tableName, this);
}
origin: nhaarman/SQLiteBuilder

 @Test
 public void previous_returnsProperItem() {
  /* Given */
  SqlPart sqlPart = mock(SqlPart.class);
  DropTableImpl dropTable = new DropTableImpl(null, "table", sqlPart);

  /* When */
  SqlPart result = dropTable.previous();

  /* Then */
  assertThat(result, is(sqlPart));
 }
}
origin: nhaarman/SQLiteBuilder

@Test
public void prependTo_withDatabaseAndTableName_prependsProperSql() {
 /* Given */
 DropTableImpl dropTable = new DropTableImpl("database", "table", mock(SqlPart.class));
 RawSqlBuilder builder = new RawSqlBuilderImpl();
 /* When */
 dropTable.prependTo(builder);
 /* Then */
 assertThat(builder.toString(), is("TABLE database.table"));
}
origin: nhaarman/SQLiteBuilder

@Test
public void prependTo_withOnlyTableName_prependsProperSql() {
 /* Given */
 DropTableImpl dropTable = new DropTableImpl(null, "table", mock(SqlPart.class));
 RawSqlBuilder builder = new RawSqlBuilderImpl();
 /* When */
 dropTable.prependTo(builder);
 /* Then */
 assertThat(builder.toString(), is("TABLE table"));
}
com.nhaarman.sqlitebuilder.implDropTableImpl<init>

Popular methods of DropTableImpl

  • prependTo
  • previous

Popular in Java

  • Finding current android device location
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Permission (java.security)
    Legacy security code; do not use.
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Notification (javax.management)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Option (scala)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now