This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package tck.java.time; | |
import static org.testng.Assert.assertEquals; | |
import static org.testng.Assert.assertTrue; | |
import java.time.LocalDate; | |
import java.time.format.DateTimeParseException; | |
import org.testng.annotations.BeforeClass; | |
import org.testng.annotations.DataProvider; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this class was translated from TestNG to JUnit | |
// using Google's testng2junit tool (https://github.com/google/j2objc/blob/master/scripts/testng2junit.py) | |
package tck.java.time; | |
import static org.junit.Assert.assertEquals; | |
import static org.junit.Assert.assertTrue; | |
import java.time.LocalDate; | |
import java.time.format.DateTimeParseException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
od() { | |
opendiff $PLATFORM/libcore/$1 ~/libcore/$1 -ancestor ~/libcore-nougat/$1 -merge $PLATFORM/libcore/$1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express') | |
const port = 3000 | |
const app = express() | |
app.use(express.json) | |
// const connectionString = "mongodb://dbserverip:27017" | |
// const dbName = "db-name" | |
// const mongoclient = require('mongodb').MongoClient | |
// mongoclient.connect(connectionString, | |
// (err, client) => db = client.db(dbName) |