Example usage for com.liferay.portal.kernel.util StringPool NULL

List of usage examples for com.liferay.portal.kernel.util StringPool NULL

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util StringPool NULL.

Prototype

String NULL

To view the source code for com.liferay.portal.kernel.util StringPool NULL.

Click Source Link

Usage

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByFormat() throws Exception {
    _persistence.countByFormat(StringPool.BLANK);

    _persistence.countByFormat(StringPool.NULL);

    _persistence.countByFormat((String) null);
}

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByN_T() throws Exception {
    _persistence.countByN_T(RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByN_T(0L, StringPool.NULL);

    _persistence.countByN_T(0L, (String) null);
}

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByN_P() throws Exception {
    _persistence.countByN_P(RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByN_P(0L, StringPool.NULL);

    _persistence.countByN_P(0L, (String) null);
}

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByN_R() throws Exception {
    _persistence.countByN_R(RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByN_R(0L, StringPool.NULL);

    _persistence.countByN_R(0L, (String) null);
}

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByN_T_V() throws Exception {
    _persistence.countByN_T_V(RandomTestUtil.nextLong(), StringPool.BLANK, RandomTestUtil.nextDouble());

    _persistence.countByN_T_V(0L, StringPool.NULL, 0D);

    _persistence.countByN_T_V(0L, (String) null, 0D);
}

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByN_T_H() throws Exception {
    _persistence.countByN_T_H(RandomTestUtil.nextLong(), StringPool.BLANK, RandomTestUtil.randomBoolean());

    _persistence.countByN_T_H(0L, StringPool.NULL, RandomTestUtil.randomBoolean());

    _persistence.countByN_T_H(0L, (String) null, RandomTestUtil.randomBoolean());
}

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByN_T_S() throws Exception {
    _persistence.countByN_T_S(RandomTestUtil.nextLong(), StringPool.BLANK, RandomTestUtil.nextInt());

    _persistence.countByN_T_S(0L, StringPool.NULL, 0);

    _persistence.countByN_T_S(0L, (String) null, 0);
}

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByN_H_P() throws Exception {
    _persistence.countByN_H_P(RandomTestUtil.nextLong(), RandomTestUtil.randomBoolean(), StringPool.BLANK);

    _persistence.countByN_H_P(0L, RandomTestUtil.randomBoolean(), StringPool.NULL);

    _persistence.countByN_H_P(0L, RandomTestUtil.randomBoolean(), (String) null);
}

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByN_H_R() throws Exception {
    _persistence.countByN_H_R(RandomTestUtil.nextLong(), RandomTestUtil.randomBoolean(), StringPool.BLANK);

    _persistence.countByN_H_R(0L, RandomTestUtil.randomBoolean(), StringPool.NULL);

    _persistence.countByN_H_R(0L, RandomTestUtil.randomBoolean(), (String) null);
}

From source file:com.liferay.wiki.service.persistence.test.WikiPagePersistenceTest.java

License:Open Source License

@Test
public void testCountByG_N_T_H() throws Exception {
    _persistence.countByG_N_T_H(RandomTestUtil.nextLong(), RandomTestUtil.nextLong(), StringPool.BLANK,
            RandomTestUtil.randomBoolean());

    _persistence.countByG_N_T_H(0L, 0L, StringPool.NULL, RandomTestUtil.randomBoolean());

    _persistence.countByG_N_T_H(0L, 0L, (String) null, RandomTestUtil.randomBoolean());
}