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
public class MyClassTests | |
{ | |
public class Given_a_context | |
{ | |
[Fact] | |
public void When_somthing_happens_Then_result() | |
{ | |
throw new NotImplementedException(); | |
} |
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
/*! | |
* Ext JS Library 3.1.0 | |
* Copyright(c) 2006-2009 Ext JS, LLC | |
* licensing@extjs.com | |
* http://www.extjs.com/license | |
*/ | |
Ext.onReady(function(){ | |
// NOTE: This is an example showing simple state management. During development, | |
// it is generally best to disable state management as dynamically-generated ids |
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
[Fact] //this is a the test attribute when using xUnit | |
public void When_xml_Something_Then_serialize_returns_null() | |
{ | |
string serializedObject = | |
"<?xml version=\"1.0\" encoding=\"utf-8\"?><MyClass xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://exampleA.org\" />"; | |
using (var stringReader = new StringReader(serializedObject)) | |
{ | |
Assert.Null(new XmlSerializer(typeof(MyClass)).Deserialize(stringReader)); | |
} |
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
<tmpvar> hello | |
<schmorp> hi | |
<tmpvar> hey, have you heard of any success with getting libeio built/running on windows? | |
<schmorp> no | |
<schmorp> it's not supposed to work, really | |
<schmorp> (windows doesn't support 99% or so of the required api) | |
<tmpvar> hrm | |
<tmpvar> yeah, good ol' windows. | |
* _ry (~ry@tinyclouds.org) has joined #schmorp | |
<_ry> schmorp: what's wrong with libeio on windows? |
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
namespace StoryQReportWithXunit | |
{ | |
using StoryQ; | |
using Xunit; | |
public class Class1 | |
{ | |
[Fact] | |
public void When_Then() | |
{ |
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
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<title>three.js webgl - materials - shaders [Fresnel]</title> | |
<meta charset="utf-8"> | |
<style type="text/css"> | |
body { | |
background:#000; | |
padding:0; | |
margin:0; |
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
<!DOCTYPE HTML> | |
<html lang="en"> | |
<head> | |
<title>three.js webgl - materials - shaders [Fresnel]</title> | |
<meta charset="utf-8"> | |
<style type="text/css"> | |
body { | |
background:#ccc; | |
padding:0; | |
margin:0; |
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
public void MyMethod() | |
{ | |
switch ( something ) | |
{ | |
// other stuff ... | |
case x: | |
{ | |
// do some stuff here | |
// need to perform case y too for this specific case |
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
static void Main(string[] args) | |
{ | |
OtherStuff(); | |
} | |
private static void OtherStuff() | |
{ | |
var store = new DocumentStore { Url = "http://bfsuser01:8080/" }; | |
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
namespace ravenConsole | |
{ | |
using System; | |
using System.Linq; | |
using Raven.Client.Document; | |
using Raven.Client.Indexes; | |
using Xunit; | |
public class DocumentsTests | |
{ |
OlderNewer