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
<?xml version="1.0"?> | |
<phpunit strict="true" | |
bootstrap="../BuildEssentials/PhpUnit/FunctionalTestBootstrap.php" | |
convertErrorsToExceptions="true" | |
convertNoticesToExceptions="true" | |
convertWarningsToExceptions="true" | |
timeoutForSmallTests="0"> | |
<testsuites> | |
<testsuite name="All tests"> | |
<directory>../../Packages/Application/*/Tests/Functional</directory> |
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
App.Person = DS.Model.extend({ | |
firstName: DS.attr('string'), | |
lastName: DS.attr('string'), | |
fullName: function() { | |
return this.get('firstName') + ' Test ' + this.get('lastName'); | |
}.property('firstName', 'lastName'), | |
didLoad: function() { | |
console.log(this.get('firstName') + this.get('lastName') +" finished loading."); |
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
App.Person = DS.Model.extend({ | |
firstname: DS.attr('string'), | |
lastname: DS.attr('string'), | |
fullName: function() { | |
return this.get('firstname') + ' ' + this.get('lastname'); | |
}.property('firstname', 'lastname'), | |
didLoad: function() { |
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
App.Person = DS.Model.extend({ | |
firstName: DS.attr('string'), | |
lastName: DS.attr('string'), | |
fullName: function() { | |
return this.get('firstName') + ' ' + this.get('lastName'); | |
}.property('firstName', 'lastName'), | |
didLoad: function() { | |
console.log(this.get('fullName') +" finished loading."); |
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
function(doc) { emit( | |
[ | |
doc.city, | |
'indicator_beroepsbevolking', | |
parseInt(doc.date.substr(0, 4)) |
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
//TEMPLATE | |
{{#linkTo account account}}View{{/linkTo}} | |
//ROUTER | |
App.Router.map(function() { | |
this.resource('accounts', function() { | |
//this.route('account', { path: ':accountguid' }); | |
}); | |
this.resource('account', { path: '/accounts/:accountguid' }); | |
}); |
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
#!/bin/bash | |
if [ ! -d "Web" -o ! -d "Packages" -o ! -d "Configuration" ]; then | |
echo Make sure you run this from the TYPO3 Flow root directory! | |
echo | |
exit 1 | |
fi | |
BASE_DIR=$(pwd) |
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
## | |
# Fallback route | |
- | |
name: 'fallback' | |
uriPattern: '' | |
defaults: | |
'@package': 'TYPO3.Flow' | |
'@subpackage': 'Mvc' | |
'@controller': 'Standard' |
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
<?php | |
namespace Acme\JobQueueTest; | |
/* * | |
* This script belongs to the TYPO3 Flow package "Acme.JobQueueTest". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Flow\Utility\Files; |