UnitTest1.cs 553 B

1234567891011121314151617181920212223242526
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using RedmineOracle;
  3. using System;
  4. namespace UnitTestProject1
  5. {
  6. [TestClass]
  7. public class UnitTest1
  8. {
  9. OracleWork ow;
  10. [TestMethod]
  11. public void TestMethod2()
  12. {
  13. ow = new OracleWork();
  14. Assert.AreNotEqual(-1, ow.chechAuth("HELPDESK_SA", "LMN_509ss8"));
  15. }
  16. [TestMethod]
  17. public void TestMethod3()
  18. {
  19. ow = new OracleWork();
  20. Assert.IsNotNull(ow.findLRP("100100"));
  21. }
  22. }
  23. }