發表文章

目前顯示的是 12月 12, 2018的文章

Unit Testing On Flutter Firebase functions

圖片
up vote 1 down vote favorite Good day I am trying to perform sum unit testing on below function that creates a document on cloud firestore firebase. I have used a function in my app and it creates a document, but I want to write a test.dart file that performs unit testing for the below fuction and prints some output even on the console for verifications But I think I am not writing my Test.dart in proper way.I have get an error Function in file createdatabase.dart Future<dynamic> createDoc(dataMap,collection) async { final TransactionHandler createTransaction = (Transaction tx) async { final DocumentSnapshot ds = await tx.get(db.collection(collection).document()); final Map<String, dynamic> result = {}; result.addAll(dataMap); result['id'] = ds.documentID; await tx.set(ds.referenc...

Late Jurassic

圖片
System/ Period Series/ Epoch Stage/ Age Age (Ma) Cretaceous Lower/ Early Berriasian younger Jurassic Upper/ Late Tithonian ~145.0 152.1 Kimmeridgian 152.1 157.3 Oxfordian 157.3 163.5 Middle Callovian 163.5 166.1 Bathonian 166.1 168.3 Bajocian 168.3 170.3 Aalenian 170.3 174.1 Lower/ Early Toarcian 174.1 182.7 Pliensbachian 182.7 190.8 Sinemurian 190.8 199.3 Hettangian 199.3 201.3 Triassic Upper/ Late Rhaetian older Subdivision of the Jurassic system according to the ICS, as of 2017. [1] The Late Jurassic is the third epoch of the Jurassic period, and it spans the geologic time from 163.5 ± 1.0 to 145.0 ± 0.8 million years ago (Ma), which is preserved in Upper Jurassic strata. [2] In European lithostratigraphy, the name "malm" indicates rocks of Late Jurassic age. [ citation needed ] In the past, this name was also use...

Cygwin Make Just Keeps Entering Directory when making sip package

圖片
up vote 0 down vote favorite I am trying to install sip as per the instructions here. I've installed Cygwin to allow me to use the make command in Windows (I'm using Windows 10). I run the configure.py file, and this creates a Makefile. I then run make from the Cygwin terminal, and all it does is print over and over again make make[####]: Entering directory 'cygdrive/c/Users/****/sip-4.19.13' cd sipgen Where #### keeps increasing with every iteration. Any idea what's wrong here? python windows python-2.7 cygwin python-sip share | improve this question asked Nov 9 at 12:47 PProteus ...